home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / pckat3.arc / KATBOOK2.BAT < prev    next >
DOS Batch File  |  1986-01-18  |  2KB  |  64 lines

  1. echo off
  2. rem    PC-KAT (C) COPYRIGHT 1986, R.H. MARTIN.  PRINT PC-KAT MANUAL.
  3. if exist %1.out del %1.out
  4. if not exist %1.oqt echo Missing file, %1, please fix & rerun...
  5. if not exist %1.oqt goto end
  6. echo :
  7. echo :       Please indicate the number corresponding to the letters of your
  8. echo :       hard disk drive and to the floppy drive with the PC-KAT diskette
  9. echo :       in the drive.  If you don't have a hard disk drive, but you
  10. echo :       do have a high capacity floppy drive (1.2 MB space), you can use
  11. echo :       this drive as your hard disk instead.  The PC-KAT manual was
  12. echo :       decompressed to fit on the diskette.  During the printing, the
  13. echo :       expanded manual will be placed on your hard disk (afterwards,
  14. echo :       it will be deleted).
  15. echo :
  16. echo :       1.  Hard disk is D: and the floppy drive with PC-KAT is A:.
  17. echo :       2.  Hard disk is C: and the floppy drive with PC-KAT is A:.
  18. echo :       3.  Hard disk is A: and the floppy drive with PC-KAT is B:.
  19. echo :       4.  None of the above.
  20. kprint -?2
  21. echo :
  22. if not errorlevel 1 goto bad_hit
  23. if errorlevel 4 goto bad_hit
  24. echo :   About to decompress PC-KAT manual...
  25. if errorlevel 3 goto proc3
  26. if errorlevel 2 goto proc2
  27. if errorlevel 1 goto proc1
  28. :proc1
  29. d:
  30. a:usq a:%1.oqt
  31. a:
  32. echo :
  33. echo :   Printing one of the PC-KAT manuals...
  34. kprint -vxnhc d:%1.out
  35. del d:%1.out
  36. goto end
  37. :proc2
  38. c:
  39. a:usq a:%1.oqt
  40. a:
  41. echo :
  42. echo :   Printing one of the PC-KAT manuals...
  43. kprint -vxnhc c:%1.out
  44. del c:%1.out
  45. goto end
  46. :proc3
  47. a:
  48. b:usq b:%1.oqt
  49. b:
  50. echo :
  51. echo :   Printing one of the PC-KAT manuals...
  52. kprint -vxnhc a:%1.out
  53. del a:%1.out
  54. goto end
  55. :bad_hit
  56. echo You did not choose a correct number; rerun this procedure again
  57. :end
  58.  
  59.  
  60.  
  61.  
  62.  
  63. 
  64.